package com.portal.incurridos.persistence.dao;

import com.portal.incurridos.persistence.enumeration.StateTransactionEnum;
import com.portal.incurridos.persistence.wall.Wall;

/**
 * @author Alan Dávila
 * e-mail ustargab@gmail.com
 * date 21/11/2013 00:38:12
 */
public interface WallDao {

	/**
	 * Get the information of wall requiered.
	 * @param wall Identifier of wall requiered.
	 * @return Object with the information of wall.
	 */
	Wall get(final Integer wall);
	/**
	 * Create a new wall into the system.
	 * @param wall Object with the information of wall.
	 * @return Wall with the identifier created.
	 */
	Wall create(final Wall wall);
	/**
	 * Update the information of wall.
	 * @param wall Object with the information of wall.
	 * @return State of the operation.
	 */
	StateTransactionEnum update(final Wall wall);
	/**
	 * Delete a existing wall.
	 * @param wall Object with the information of wallet to delete.
	 * @return State of the operation.
	 */
	StateTransactionEnum delete(final Wall wall);
}
